package com.by.auth.reamls;

import org.apache.shiro.authc.SimpleAuthenticationInfo;
import org.apache.shiro.subject.SimplePrincipalCollection;

public class MySimpleAuthenticationInfo extends SimpleAuthenticationInfo {

	private String id;

	public MySimpleAuthenticationInfo(Object principal, Object credentials, String realmName, String id) {
		this.principals = new SimplePrincipalCollection(principal, realmName);
		this.credentials = credentials;
		this.id = id;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}
}
